package com.heartware.sh.blackhole.view;

/**
 * Created by Administrator on 2016/12/1 0001.
 */
public interface ILoginView {

    //view  界面上直观能看到的东西...

    /**
     * 清除账号密码
     */
    void clear();

    /**
     * 登录结果
     * @param isSuccess
     * @param msg
     */
    void loginResult(boolean isSuccess, String msg);

    /**
     * 进度条..
     * @param visiblity
     */
    void setProgressBarVisiblity(int visiblity);

    /**
     * 注册结果
     * @param isSuccess
     * @param msg
     */
    void regResult(boolean isSuccess, String msg);

}
